package com.program.api.rest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProviderController {

    @RequestMapping("/hello")
    public String home(@RequestParam(value = "name", defaultValue = "超神") String name) {
        return "hi ：" + name;
    }

}
